From: Ashutosh Singh Date: Fri, 27 May 2016 14:51:17 +0000 (+0100) Subject: opteed: assume aarch64 for optee X-Git-Url: http://git.openwrt.org/%22https:/collectd.org//%22http:/www.crowdsec.net/%22/%22https:/collectd.org/%22http:/www.crowdsec.net/%22?a=commitdiff_plain;h=29464f13f6f940abf7fb6218df05e38b0bb3f80f;p=project%2Fbcm63xx%2Fatf.git opteed: assume aarch64 for optee OPTEE to execute in aarch64 bit mode, set it accordingly when execution transitions from EL3 to EL1 Change-Id: I59f2f940bdc1aac10543045b006a137d107ec95f Signed-off-by: Ashutosh Singh --- diff --git a/services/spd/opteed/opteed_main.c b/services/spd/opteed/opteed_main.c index 6b4b14af..9770fb99 100644 --- a/services/spd/opteed/opteed_main.c +++ b/services/spd/opteed/opteed_main.c @@ -148,7 +148,7 @@ int32_t opteed_setup(void) * state i.e whether AArch32 or AArch64. Assuming it's AArch32 * for the time being. */ - opteed_rw = OPTEE_AARCH32; + opteed_rw = OPTEE_AARCH64; opteed_init_optee_ep_state(optee_ep_info, opteed_rw, optee_ep_info->pc,